package com.hometeacher.api.model;

import lombok.Data;

import javax.persistence.*;

/**
 * @author ZhaoYuan
 * @data 06/05/2020 22:32
 */
@Entity
@Table(name = "orders", schema = "lishu_data")
@Data
public class Orders {
    @Id
    @Column(name = "order_id")
    private int orderId;

    @Column(name = "stu_id")
    private long stuID;

    @Column(name = "teacher_id")
    private long teacherID;

    @Column(name = "order_status")
    private int orderStatus;




}
